package ge.info.domain.transport;

import ge.ktapestry.propertyselections.IComboItem;

/**
 * @author Administrator
 */
public class TransportType implements java.io.Serializable, IComboItem
{
    private int transportTypeID;
    private String name;


    public TransportType()
    {
    }

    public boolean equals(Object o)
    {
        if (!(o instanceof TransportType))
        {
            return false;
        }
        return this.getTransportTypeID() == (((TransportType) o).getTransportTypeID());
    }

    public int getTransportTypeID()
    {
        return transportTypeID;
    }

    public void setTransportTypeID(int transportTypeID)
    {
        this.transportTypeID = transportTypeID;
    }


    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }


    public String getUniqueID()
    {
        return String.valueOf(transportTypeID);
    }

    public String getDisplayName()
    {
        return name;
    }

}
